﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AlignetFiles/Alignet.Master" AutoEventWireup="true" CodeBehind="RegistrarListSolPaseProduccion.aspx.cs" Inherits="WebAlignet.AlignetFiles.PaseProduccion.SolPaseProduccion" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                         <tr>
                           <td width="3%" height="19">&nbsp;</td>

                           <td width="48%">&nbsp;</td>
                           <td width="49%" rowspan="3" align="right" valign="bottom"></td>
                         </tr>
                         <tr>
                           <td height="10" align="right"><img src="images/ActualizarAlertas_flechanaranja_0000.gif" width="10" height="14" hspace="6" /></td>
                           <td class="TextoTitulos" style="text-align: left" >Actualizar Solicitudes de Pase a Produccion</td>
                         </tr>
                         

                         <tr>

                           <td height="19" align="right">&nbsp;</td>
                           <td>&nbsp;</td>
                         </tr>
                         <tr>
                            
                            <td colspan="2">
                            <table align="center" border="0" cellpadding="0" cellspacing="0" width="906">
                            <tr>
                             <td width="414" height="40" valign="middle" class="TextoTitulo2" 
                                    style="text-align: left"> Lista de Solicitudes de Pase a Producci&oacute;n</td>

                            <td width="319" height="40" align="right" valign="middle" class="Texto">
                           <div>
                               <asp:Button ID="Button1" runat="server" Text="Registrar Nueva Solicitud" 
                                   onclick="Button1_Click" />
                           
                           </div></td>
                         </tr>
                       </table>
                        </td>
                         </tr>
                         <tr>
                            
                            <td colspan="2">
                                <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" 
                                    GridLines="None" AutoGenerateColumns="False" 
                                    DataSourceID="ObjectDataSource1" 
                                    onselectedindexchanged="GridView1_SelectedIndexChanged" 
                                    onrowcommand="GridView1_RowCommand">
                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                    <Columns>
                                        <asp:BoundField DataField="Codigo" HeaderText="Codigo" 
                                            SortExpression="Codigo" />
                                        <asp:BoundField DataField="Descripcion" HeaderText="Descripcion" 
                                            SortExpression="Descripcion" />
                                        <asp:BoundField DataField="TipoDesc" HeaderText="TipoDesc" 
                                            SortExpression="TipoDesc" />
                                        <asp:BoundField DataField="EstadoDesc" HeaderText="EstadoDesc" 
                                            SortExpression="EstadoDesc" />
                                        <asp:BoundField DataField="NombreProyecto" HeaderText="NombreProyecto" 
                                            SortExpression="NombreProyecto" />
                                        <asp:BoundField DataField="NombreUsuario" HeaderText="NombreUsuario" 
                                            SortExpression="NombreUsuario" />
                                        <asp:BoundField DataField="FechaCreacion" DataFormatString="{0:d}" 
                                            HeaderText="FechaCreacion" SortExpression="FechaCreacion" />
                                        <asp:CommandField ButtonType="Button" HeaderText="Editar" ShowHeader="True" 
                                            ShowSelectButton="True" SelectText="Editar" />
                                        <asp:ButtonField ButtonType="Button" HeaderText="Eliminar" 
                                            Text="Eliminar"  CommandName="Eliminar"/>
                                    </Columns>
                                    <EditRowStyle BackColor="#999999" />
                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                </asp:GridView>
                                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                                    SelectMethod="obtenerListadeSolicitudes" 
                                    TypeName="BOAlignet.BOSolPaseProduccion">
                                    <SelectParameters>
                                        <asp:SessionParameter Name="codigo" SessionField="CodigoUsuario" 
                                            Type="String" />
                                        <asp:SessionParameter Name="cargo" SessionField="TipoUsuario" Type="String" />
                                    </SelectParameters>
                                </asp:ObjectDataSource>
                             </td>
                         </tr>
                         <tr>
                            
                            <td colspan="2">&nbsp;</td>
                         </tr>
                       </table>
                      
                       
                      	
			
</asp:Content>
